.PHONY:all
all:server client

server:server.cpp 
	g++ -std=c++11 -std=gnu++0x -g -lpthread $^ -o $@ 

client:client.cpp 
	g++ -std=c++11 -std=gnu++0x -g $^ -o $@

.PHONY:clean
clean:
	rm -f client server


